x86/EFI: permit setting variable with non-zero attributes
authorJan Beulich <jbeulich@suse.com>
Wed, 27 Mar 2013 07:46:28 +0000 (08:46 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 27 Mar 2013 07:46:28 +0000 (08:46 +0100)
commit78380c34dfeb27da3d0222bcb7232c5d8e2f5b30
treee3c4e36b696255e6300979b43521f28264effe63
parent25250ed7c8094a905c5f03b8ae25c8694d3fa9b3
x86/EFI: permit setting variable with non-zero attributes

This must have been a copy-and-paste mistake - get_variable uses
op->misc as output only, and wants to make sure it's zero for future
extensibility. For set_variable, this is an input though, and hence
the check is wrong.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/efi/runtime.c